#ifndef FACTORY_H
#define FACTORY_H

#include "Entity.h"

#include <iostream>
#include <map>

class Factory
{
public:
	bool addEntityClass(Entity newClass);
	Entity& getEntityClass(String sType);
	Entity* instantiateEntity(String sType);
	Entity* instantiateEntity(String sType, String sName);
	Entity* getEntity(String sName);


private:
	std::map<String, Entity> m_classes;
	std::map<String, Entity*> m_pObjects;

};


#endif
